<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="taglibs.jsp"%>
<%@ page isELIgnored="false"%> 
<% String ctxPath_1 = request.getContextPath();%>
<LINK href="<%=ctxPath_1%>/css/style.css" type=text/css rel=stylesheet>
<LINK href="<%=ctxPath_1%>/css/common.css" type=text/css rel=stylesheet>
<LINK href="<%=ctxPath_1%>/css/coolmenu.css" type=text/css rel=stylesheet>

<script type='text/javascript' src='<%=ctxPath_1%>/dwr/engine.js'></script>
<script type='text/javascript' src='<%=ctxPath_1%>/dwr/util.js'></script>
<script type='text/javascript' src='<%=ctxPath_1%>/dwr/interface/UserAjax.js'></script>

<script>
function showPage()
{
	document.forms[0].submit();
}
</script>

<logic:equal name="searchForm" property="pageInfo.hasResults" value="true">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="content12">
<tr>
<td height="25" align="right">   
   第&nbsp;&nbsp;<bean:write name="searchForm" property="pageInfo.fromRow"/>-<bean:write name="searchForm" property="pageInfo.toRow"/>
   &nbsp;&nbsp;条&nbsp;&nbsp;共 &nbsp;<bean:write name="searchForm" property="pageInfo.totalResult"/>&nbsp;条&nbsp;&nbsp;&nbsp;
<logic:greaterThan name="searchForm" property="pageInfo.totalResult" value="${searchForm.pageInfo.pageSize}">
  当前页次：<bean:write name="searchForm" property="pageInfo.currentPage"/>/<bean:write name="searchForm" property="pageInfo.totalPage"/>页
  &nbsp;&nbsp;
  <logic:equal name="searchForm" property="pageInfo.hasPrevious" value="true">
  	<a href="javascript:document.getElementById('jumpPage').value=1;showPage();">首页</a>&nbsp;
  	<a href="javascript:document.getElementById('jumpPage').value=<bean:write name="searchForm" property="pageInfo.previousPage"/>;showPage();">上一页</a>&nbsp;
  </logic:equal>
  <logic:equal name="searchForm" property="pageInfo.hasNext" value="true">
  	<a href="javascript:document.getElementById('jumpPage').value=<bean:write name="searchForm" property="pageInfo.nextPage"/>;showPage();">下一页</a>&nbsp;
  	<a href="javascript:document.getElementById('jumpPage').value=<bean:write name="searchForm" property="pageInfo.totalPage"/>;showPage();">末页</a>&nbsp;&nbsp;&nbsp;
  </logic:equal>  
</logic:greaterThan> 


	<html:hidden name="searchForm" property="pageInfo.currentPage" styleId="jumpPage"/>


</td>
</tr>
</table>
</logic:equal> 
<logic:equal name="searchForm" property="pageInfo.hasResults" value="false">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="content12">
<tr>
<td height="25" align="right">
	第&nbsp;&nbsp; 0 &nbsp;&nbsp;条&nbsp;&nbsp;共 &nbsp; 0 &nbsp;条&nbsp;
</td>
</tr>
</table>
</logic:equal>

